package org.xzx.shop_api.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.xzx.shop_api.entity.Category;
import org.xzx.shop_api.mapper.CategoryMapper;

import java.util.List;

public interface CategoryService {

    public int insertCategory(Category category);
    public Category getCategoryByCateName(String cateName);
    public List<Category> getAllCategory();
}
